package com.hbnu.service;

import com.hbnu.mapper.ServerMapper;
import com.hbnu.pojo.Server;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ServerService {
    @Autowired
    private ServerMapper serverMapper;

    //添加服务
    public boolean addServer(Server server){
        return serverMapper.insert(server) > 0;
    }


}
